.class Lrexsee/dialog/RexseePopupWindow$1;
.super Lrexsee/core/browser/clazz/WindowCreateCloseListener;
.source "RexseePopupWindow.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/dialog/RexseePopupWindow;->enableNewWindow(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/dialog/RexseePopupWindow;


# direct methods
.method constructor <init>(Lrexsee/dialog/RexseePopupWindow;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/dialog/RexseePopupWindow$1;->this$0:Lrexsee/dialog/RexseePopupWindow;

    .line 48
    invoke-direct {p0}, Lrexsee/core/browser/clazz/WindowCreateCloseListener;-><init>()V

    return-void
.end method


# virtual methods
.method public closeWindow(Lrexsee/core/browser/Browser;)V
    .locals 2
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 57
    iget-object v0, p1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    if-eqz v0, :cond_0

    .line 58
    iget-object v0, p0, Lrexsee/dialog/RexseePopupWindow$1;->this$0:Lrexsee/dialog/RexseePopupWindow;

    # getter for: Lrexsee/dialog/RexseePopupWindow;->mMap:Ljava/util/HashMap;
    invoke-static {v0}, Lrexsee/dialog/RexseePopupWindow;->access$0(Lrexsee/dialog/RexseePopupWindow;)Ljava/util/HashMap;

    move-result-object v0

    iget-object v1, p1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v1}, Lrexsee/core/browser/clazz/BrowserParent;->getParentId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 59
    iget-object v0, p1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    invoke-interface {v0}, Lrexsee/core/browser/clazz/BrowserParent;->doCancel()V

    .line 61
    :cond_0
    return-void
.end method

.method public getNewBrowser(Lrexsee/core/browser/Browser;ZZZ)Lrexsee/core/browser/Browser;
    .locals 5
    .param p1, "browser"    # Lrexsee/core/browser/Browser;
    .param p2, "isDialog"    # Z
    .param p3, "isUserGesture"    # Z
    .param p4, "isLink"    # Z

    .prologue
    const-string v4, ""

    .line 51
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "NewWindow"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 52
    .local v0, "id":Ljava/lang/String;
    iget-object v1, p0, Lrexsee/dialog/RexseePopupWindow$1;->this$0:Lrexsee/dialog/RexseePopupWindow;

    const/4 v2, 0x0

    const-string v3, ""

    const-string v3, ""

    invoke-virtual {v1, v0, v2, v4, v4}, Lrexsee/dialog/RexseePopupWindow;->show(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 53
    iget-object v1, p0, Lrexsee/dialog/RexseePopupWindow$1;->this$0:Lrexsee/dialog/RexseePopupWindow;

    # getter for: Lrexsee/dialog/RexseePopupWindow;->mMap:Ljava/util/HashMap;
    invoke-static {v1}, Lrexsee/dialog/RexseePopupWindow;->access$0(Lrexsee/dialog/RexseePopupWindow;)Ljava/util/HashMap;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    .end local p0    # "this":Lrexsee/dialog/RexseePopupWindow$1;
    check-cast p0, Lrexsee/dialog/PopupWindow;

    invoke-virtual {p0}, Lrexsee/dialog/PopupWindow;->getBrowser()Lrexsee/core/browser/Browser;

    move-result-object v1

    return-object v1
.end method
